<table id="system-menu-list-table" data-toggle="datagrid" data-options="{
    tableWidth: '100%',
    width: '100%',
    height: '100%',
    gridTitle: '材料单位列表',
    showToolbar: true,
    toolbarItem:'add',
    local: 'local',
    showEditbtnscol: '操作',
    filterThead: false,
    dataUrl: 'admin/system/dictionary-list',
    inlineEditMult: false,
    showLinenumber: false,
    editUrl: 'admin/system/dictionary-edit',
    editCallback:editCallback,
    delUrl: 'admin/system/dictionary-delete',
    delPK: 'id',
    addLocation: 'first',
}">
    <thead>
    <tr>
        <th data-options="{name:'id', align:'left',add:false}">编号</th>
        <th data-options="{name:'value', align:'left',rule:'required'}">名称</th>
    </tr>
    </thead>
</table>